from distutils.core import setup, Extension

def main():
    setup(name="ipinnet",
          version="0.1",
          license='GPLv3',
          description="C implementation to check if a given IP (IPv4 "
                      "and IPv6) string exists is in a given network.",
          author="CYBERDEViL",
          author_email="cyberdevil@notabug.org",
          url='https://notabug.org/cyberdevil',
          ext_modules=[Extension("ipinnet", sources=["src/ipinnetmodule.c", 'src/ipinnet.c'])])

if __name__ == "__main__":
    main()
